<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.10/vue.js"></script>
</head>
<body>
<div id="app">
  <div v-for="(item,index) in num">
    {{item}} -- {{index}}
  </div>
</div>
<script>
  const vm = new Vue({
    el:"#app",
    data(){
      return{
        num:10
      }
    }
  })
</script>
</body>
</html>